projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
014a672
)
Count compile errors when FILE is a function
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 18 Jul 2021 18:27:03 +0000
(20:27 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sun, 18 Jul 2021 18:41:59 +0000
(20:41 +0200)
* lisp/progmodes/compile.el (compilation-parse-errors):
Don't omit messages from the error count when FILE is a function
rather than a regexp match number.
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index 7a02c3a896ff2365857f44416013e57633407719..e4363e11b81c2339d404005190d1792f3a965e64 100644
(file)
--- a/
lisp/progmodes/compile.el
+++ b/
lisp/progmodes/compile.el
@@
-1540,7
+1540,7
@@
to `compilation-error-regexp-alist' if RULES is nil."
file line end-line col end-col
(or type 2) fmt rule))
- (when
(integerp file)
+ (when
file
(let ((this-type (if (consp type)
(compilation-type type)
(or type 2))))